/**
* 钟表类的测试类，测试对象的创建和引用
* 此类的角色：扮演钟表类的调用者
* @author 陈彬
* @date 2021-4-15
*/
public class ClockTest2 {

	public static void main(String[] args) {
		MechanicalWatch rolex = new MechanicalWatch();
		rolex.showTime();
		// rolex.showByPointer();

		DigitalWatch xiaomi = new DigitalWatch();
		xiaomi.showTime();
		// xiaomi.showByDigit();
	}
}